package com.lwj.liwanjia.bean;

/**
 * Created by Administrator on 2017/10/19.
 */

public class SpPriceBean {


    /**
     * state : 1
     * message : null
     * data : {"nowPrice":4899,"price":"4899.00","imageUrl":"http://101.132.69.99/images/1.jpg","commodityCode":"101","shopInfoId":15,"have":1,"stock":11,"commodityType":"商城","commodityInfo":"iphone","commodityName":"iphone"}
     */

    private int state;
    private Object message;
    private DataBean data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * nowPrice : 4899.0
         * price : 4899.00
         * imageUrl : http://101.132.69.99/images/1.jpg
         * commodityCode : 101
         * shopInfoId : 15
         * have : 1
         * stock : 11
         * commodityType : 商城
         * commodityInfo : iphone
         * commodityName : iphone
         */

        private double nowPrice;
        private String price;
        private String imageUrl;
        private String commodityCode;
        private int shopInfoId;
        private int have;
        private int stock;
        private String commodityType;
        private String commodityInfo;
        private String commodityName;

        public double getNowPrice() {
            return nowPrice;
        }

        public void setNowPrice(double nowPrice) {
            this.nowPrice = nowPrice;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getCommodityCode() {
            return commodityCode;
        }

        public void setCommodityCode(String commodityCode) {
            this.commodityCode = commodityCode;
        }

        public int getShopInfoId() {
            return shopInfoId;
        }

        public void setShopInfoId(int shopInfoId) {
            this.shopInfoId = shopInfoId;
        }

        public int getHave() {
            return have;
        }

        public void setHave(int have) {
            this.have = have;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public String getCommodityType() {
            return commodityType;
        }

        public void setCommodityType(String commodityType) {
            this.commodityType = commodityType;
        }

        public String getCommodityInfo() {
            return commodityInfo;
        }

        public void setCommodityInfo(String commodityInfo) {
            this.commodityInfo = commodityInfo;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }
    }
}
